<?php
      include  'MainController.php' ;
      
      $application1=new MainController("podrzdnyKontroller1",$i1,$i2);     
      $application2=new MainController("podrzdnyKontroller2",$i1,$i2);
      $application=new MainController("glownyKontroller",$i1,$i2);
      
      $application->addController($application1);          
      $application->addController($application2);
            $application->getHttp();
            $application->getModel();
            
           print_r($application->getView());;
            
?>
